package com.spring.sunflower.util;

import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.content.pm.PackageManager;

import com.meituan.android.walle.WalleChannelReader;

/**
 * Created by Kevin on 2020/4/21<br/>
 * Blog:http://student9128.top/
 * 公众号：前方开发者Kevin
 * Describe:<br/>
 */
public class ChannelInfoUtils {
    public static String getChannel(Context context) {
        String channel = WalleChannelReader.getChannel(context.getApplicationContext());
        if (channel == null) {
            channel = "huawei";
        }
        return channel;
    }
}